import { InjectionToken } from "@angular/core";

interface AppConfig {
  apiEndpoint: string;
  title: string;
}

export const APP_CONFIG = new InjectionToken<AppConfig>('app.config', {
  providedIn: 'root',
  factory: () => {
    return {
      apiEndpoint: 'your-api-endpoint',
      title: 'your-title'
    };
  }
});